#                     This file is part of PyRemoteMT.
#
#    PyRemoteMT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    PyRemoteMT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with PyRemoteMT.  If not, see <http://www.gnu.org/licenses/>.
#
#    ====================================================================


from __future__ import with_statement
import math
from pymt import *
from OpenGL.GL import GL_LINE_STRIP, glColor4f, glVertex2f, GL_LINE_BIT, glLineWidth
from OpenGL.GL import glTranslatef
import os
import sys

RESOURCE_PATH = os.path.join( "libs" )
sys.path.append( os.path.join( RESOURCE_PATH ) )

import movie_coverflow



if __name__ == '__main__':
    
    # Create background window
    w = getWindow()
    w.wallpaper = 'images/wallpaper.jpg'
    w.wallpaper_position = 'center' #norepeat, center, repeat, scale
    w.add_widget(movie_coverflow.movieCoverFlow())
    

    runTouchApp()